package com.bbzn.device.client.dao.device;

import com.bbzn.device.client.dataobject.DeviceShare;
import java.util.Date;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DeviceShareMapper {
    int deleteByPrimaryKey(Long id);

    int deleteDeviceShareSelective(DeviceShare record);

    int insert(DeviceShare record);

    int insertOrUpdate(DeviceShare record);

    int insertOrUpdateSelective(DeviceShare record);

    int insertSelective(DeviceShare record);

    DeviceShare selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DeviceShare record);

    int updateByPrimaryKey(DeviceShare record);

    List<DeviceShare> findByAll(DeviceShare deviceShare);

    List<Long> findReceiveIdByImei(@Param("imei")String imei);

    int updateBatch(List<DeviceShare> list);

    int updateBatchSelective(List<DeviceShare> list);

    int batchInsert(@Param("list") List<DeviceShare> list);
}